/**
* 
* ====================================================================
*
* @author apov <apov@ymail.com>
*/ 
#pragma once

#include <BaseDefine.h>
#include <vector>

class StateNode{
	typedef std::vector< int > Probs;
	typedef std::vector< StateNode* > Nexts;

public:
	char* get_name();
	int set_next( int prob, StateNode* node );
	StateNode* process();

	StateNode( char* name );
	virtual ~StateNode();

protected:

private:
	std::string name_;

	Probs probs_;
	Nexts nexts_;
};
